package com.saihai.jiankang.ufBmifwqf.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.saihai.jiankang.ufBmifwqf.mapper.UfBmifwqfMapper;
import com.saihai.jiankang.ufBmifwqf.domain.UfBmifwqf;
import com.saihai.jiankang.ufBmifwqf.service.IUfBmifwqfService;

/**
 * bmi异常值Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-08-30
 */
@Service
public class UfBmifwqfServiceImpl implements IUfBmifwqfService 
{
    @Autowired
    private UfBmifwqfMapper ufBmifwqfMapper;

    /**
     * 查询bmi异常值
     * 
     * @param id bmi异常值主键
     * @return bmi异常值
     */
    @Override
    public UfBmifwqf selectUfBmifwqfById(Long id)
    {
        return ufBmifwqfMapper.selectUfBmifwqfById(id);
    }

    /**
     * 查询bmi异常值列表
     * 
     * @param ufBmifwqf bmi异常值
     * @return bmi异常值
     */
    @Override
    public List<UfBmifwqf> selectUfBmifwqfList(UfBmifwqf ufBmifwqf)
    {
        return ufBmifwqfMapper.selectUfBmifwqfList(ufBmifwqf);
    }

    /**
     * 查询bmi异常值列表
     *
     * @param ufBmifwqf bmi异常值
     * @return bmi异常值
     */
    @Override
    public List<UfBmifwqf> selectUfBmifwqfList_zc(UfBmifwqf ufBmifwqf)
    {
        return ufBmifwqfMapper.selectUfBmifwqfList_zc(ufBmifwqf);
    }



    /**
     * 新增bmi异常值
     * 
     * @param ufBmifwqf bmi异常值
     * @return 结果
     */
    @Override
    public int insertUfBmifwqf(UfBmifwqf ufBmifwqf)
    {
        return ufBmifwqfMapper.insertUfBmifwqf(ufBmifwqf);
    }

    /**
     * 修改bmi异常值
     * 
     * @param ufBmifwqf bmi异常值
     * @return 结果
     */
    @Override
    public int updateUfBmifwqf(UfBmifwqf ufBmifwqf)
    {
        return ufBmifwqfMapper.updateUfBmifwqf(ufBmifwqf);
    }

    /**
     * 批量删除bmi异常值
     * 
     * @param ids 需要删除的bmi异常值主键
     * @return 结果
     */
    @Override
    public int deleteUfBmifwqfByIds(Long[] ids)
    {
        return ufBmifwqfMapper.deleteUfBmifwqfByIds(ids);
    }

    /**
     * 删除bmi异常值信息
     * 
     * @param id bmi异常值主键
     * @return 结果
     */
    @Override
    public int deleteUfBmifwqfById(Long id)
    {
        return ufBmifwqfMapper.deleteUfBmifwqfById(id);
    }
}
